package org.dong.service.Impl;

import org.dong.Mapper.ProjectMapper;
import org.dong.Tool.MyBatisUtil;
import org.dong.pojo.Project;
import org.dong.service.ProjectService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component("projectService")
public class ProjectServiceImpl implements ProjectService {

    @Resource
    ProjectMapper ProjectMapper;
    @Override
    public List<Project> getProjectList(int id) {
        return ProjectMapper.getProjectList(id);
    }
}
